package com.ocean.dao.library;

import com.ocean.entity.library.Category;
import com.ocean.entity.library.Rule;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * Project：SchoolManage
 * Package：com.ocean.dao.library
 * Author:zy
 * Time:2023/3/3
 */

public interface RuleDao {


    int insert(Rule rule);


    List<Rule> selectAllByCondition(@Param("days")Integer days, @Param("rules") BigDecimal rules);

    int delete(int id);
    /**
     * 修改*/
    int update(Rule rule);




}
